package com.ruoyi.indexAdvertising.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 启动页广告对象 jy_index_advertising
 *
 * @author jiuyou
 * @date 2021-10-18
 */
public class IndexAdvertising extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 首页图片 */
    @Excel(name = "首页图片")
    private String imgSrc;

    /** 状态 */
    @Excel(name = "状态")
    private String showState;

    /** 展示几秒钟 */
    @Excel(name = "展示几秒钟")
    private Long showTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImgSrc(String imgSrc)
    {
        this.imgSrc = imgSrc;
    }

    public String getImgSrc()
    {
        return imgSrc;
    }
    public void setShowState(String showState)
    {
        this.showState = showState;
    }

    public String getShowState()
    {
        return showState;
    }
    public void setShowTime(Long showTime)
    {
        this.showTime = showTime;
    }

    public Long getShowTime()
    {
        return showTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgSrc", getImgSrc())
            .append("showState", getShowState())
            .append("showTime", getShowTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
